import Vue from "vue";
import App from "./App.vue";
import router from "@/router/router"; //路由
import store from "@/store/store"; // vuex

import Api from "@/request/api"; //api
Vue.prototype.$api = Api; //把api挂载到vue原型
// import '@/mock/mock';//mock

import Antd from "ant-design-vue"; //ant 组件库
import "ant-design-vue/dist/antd.css"; //ant 样式

import "@/assets/fonts/iconfont/iconfont.css"; //引入阿里图标
import "@/assets/css/reset.css"; //为避免出现图标方框的情况，对font进行初始化

Vue.use(Antd);
Vue.config.productionTip = false;

new Vue({
  store,
  router,
  render: (h) => h(App),
}).$mount("#app");
